const { request, response } = require('express');
const http = require('http');
const url = require('url');

const server = http.createServer((request,response)=>{
    let res = url.parse(request.url,true)
    let pathname = res.pathname
    let o = res.query.yuyou
    console.log(o);
    response.end('url')
})

server.listen(1234,()=>{
    console.log('服务已启动……');
})